package com.worker.microsoft.service;

import com.onedec.admin.entity.OnedecEmp;

import java.util.List;

public interface AdminService {
    //登录
    OnedecEmp findByUser(String empUsername);

    //通过id寻找
    OnedecEmp findById(int empId);

    //通过邮箱查找密码
    OnedecEmp findByEmail(String email);

    int updatePwd(OnedecEmp onedecEmp);

    public List<OnedecEmp> selectDesigner();

    public List<OnedecEmp> selectAllEmp();

    public List<OnedecEmp> selectManager();

    public List<OnedecEmp> selectSupervision();
}
